﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MPP.Product.BusinessEntity
{
    public class MobilePhoneBE :BasicBE
    {         
        
        public string Name { get; set; }

        public DateTime TimeToMarket { get; set; }

        public string Brand { get; set; }

        public string NetworkSystem { get; set; }

        public int Weight { get; set; }

        public int Width { get; set; }

        public int Thickness { get; set; }

        public string OptionalShellColors { get; set; }

        public string ScreenResolution { get; set; }

        public int ScreenMaxColorCount { get; set; }

        public int ScreenSize { get; set; }

        public string OperationSystem { get; set; }

        public string CPU { get; set; }

        public string Memory { get; set; }

        public string InternalStorage { get; set; }

        public string SupportedStorageCard { get; set; }

        //Accessories
        public string BatteryType { get; set; }

        public string BatteryCapacity { get; set; }

        public string BatteryCount { get; set; }

        public bool HasEarphone { get; set; }

        public bool HasCharger { get; set; }

        public bool HasDataLine { get; set; }

        public string Others { get; set; }

        public List<FunctionItemBE> FunctionItems { get; set; }


        public MobilePhoneBE()
        {
            this.Name = "IPhone 4S";

            FunctionItemTypeBE type1 = new FunctionItemTypeBE() { Name = "Browser" };
            FunctionItemBE item1 = new FunctionItemBE() { Type = type1, Detail = "Safori 6" };

            FunctionItemTypeBE type2 = new FunctionItemTypeBE() { Name = "Map" };
            FunctionItemBE item2 = new FunctionItemBE() { Type = type2, Detail = "Google Map" };

            this.FunctionItems.Add(item1);
            this.FunctionItems.Add(item2);
        }


    }
}
